/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.vce.election.domain;

import com.vce.Persistent;
import com.vce.Year;

/**
 *
 * @author Ggutierrez
 */
public class Candidate implements Persistent{
    private Long id;
    private Year year;
    private Party party;
    private String FirstName;
    private String LastName;
    private Position position;
    private Town town;

    public Candidate() {
    }

    public Candidate(Year year, Party party, String FirstName, String LastName, Position position) {
        this.year = year;
        this.party = party;
        this.FirstName = FirstName;
        this.LastName = LastName;
        this.position = position;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Year getYear() {
        return year;
    }

    public void setYear(Year year) {
        this.year = year;
    }
    
    public Party getParty() {
        return party;
    }

    public void setParty(Party party) {
        this.party = party;
    }

    public String getFirstName() {
        return FirstName;
    }

    public void setFirstName(String FirstName) {
        this.FirstName = FirstName;
    }

    public String getLastName() {
        return LastName;
    }

    public void setLastName(String LastName) {
        this.LastName = LastName;
    }

    public Position getPosition() {
        return position;
    }

    public void setPosition(Position position) {
        this.position = position;
    }

    public Town getTown() {
        return town;
    }

    public void setTown(Town town) {
        this.town = town;
    }
}
